﻿using WeDonekRpc.Helper.Validate;

namespace Basic.FlowRemoteModel.NodeAuditEmp.Model
{
    public class NodeAuditEmp
    {
        [NumValidate("flow.id.error", 1)]
        public long FlowId
        {
            get;
            set;
        }
        [NumValidate("flow.node.id.error", 1)]
        public long NodeId
        {
            get;
            set;
        }
        [EnumValidate("flow.specify.mode.error", typeof(FlowSpecifyMode), IsContain = true)]
        public FlowSpecifyMode SpecifyMode
        {
            get;
            set;
        }
        [NumValidate("hr.complate.id.error", 1)]
        public long CompanyId
        {
            get;
            set;
        }
        public long? UnitId
        {
            get;
            set;
        }

        public long? DeptId
        {
            get;
            set;
        }
        public string[] TitleCode
        {
            get;
            set;
        }
        public string[] PostCode
        {
            get;
            set;
        }
        public long[] EmpId
        {
            get;
            set;
        }
        public long? ToNodeId
        {
            get;
            set;
        }
        public long? TableId
        {
            get;
            set;
        }
        public long? ColId
        {
            get;
            set;
        }
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keywords { get; set; }
        public string Show
        {
            get;
            set;
        }
    }
}
